// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC

@import "refactor/common-refactor.scss";

.modal-overlay {
  @extend .modal-overlay-base;
  &.transparent {
    background-color: transparent;
  }
}

.modal-container {
  @extend .modal-container-base;
}

.modal-header {
  margin-bottom: $s-24;
}

.modal-title {
  @include headlineMediumTypography;
  color: var(--modal-title-foreground-color);
}

.modal-close-btn {
  @extend .modal-close-btn-base;
}

.modal-content {
  @include bodySmallTypography;
  margin-bottom: $s-24;
}

.modal-hint {
  @extend .modal-hint-base;
}

.element-list {
  @include bodyLargeTypography;
  color: var(--modal-text-foreground-color);
}

.action-buttons {
  @extend .modal-action-btns;
}

.cancel-button {
  @extend .modal-cancel-btn;
}

.accept-btn {
  @extend .modal-accept-btn;
  &.danger {
    @extend .modal-danger-btn;
  }
}

.modal-scd-msg,
.modal-subtitle,
.modal-msg {
  @include bodyLargeTypography;
  color: var(--modal-text-foreground-color);
  line-height: 1.5;
}
